package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Teacher_video;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface Teacher_videoRemote {
    //分页查询
    //@RequestParam("courseName")String courseName,@RequestParam("gradeName")String gradeName,@RequestParam("sale")int sale,
    @RequestMapping("/selectVideo")
    PageInfo<Teacher_video> selectVideo(@RequestParam("pageNum")int pageNum,@RequestParam("pageSize")int pageSize);

    /*(修改)审核是否通过 0通过*/
    @RequestMapping("/updateVideoTy")
    int updateVideoTy(@RequestParam("id")Integer id);

    /*(修改)审核是否通过 1未通过*/
    @RequestMapping("/updateVideoBty")
    int updateVideoBty(@RequestParam("id")Integer id);
}
